/*
 * @Author: moonwater 13812995013@163.com
 * @Date: 2025-03-04 09:06:07
 * @LastEditors: moonwater 13812995013@163.com
 * @LastEditTime: 2025-03-04 09:27:10
 * @FilePath: \盐师22Git仓库\day07\PersonTest.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package day07;

public class PersonTest {
    public static void main(String[] args) {
        //创建对象
        Person p1 = new Person();
        p1.show();
        Person p2 = new Person("Tom",23);
        p2.show();
        Person p3 = new Person("Mark");
        p3.show();
        Person p4 = new Person(40);
        p4.show();
        
        
        
        
    }
}
